local qinchangbaicao = fk.CreateSkill {
  name = "lingling__qinchangbaicao",
}

Fk:loadTranslationTable {
  ["lingling__qinchangbaicao"] = "亲尝百草",
  [":lingling__qinchangbaicao"] = "出牌阶段限两次，你可以摸三张牌，然后失去1点体力。",

  ["#lingling__qinchangbaicao-active"] = "亲尝百草：出牌阶段限两次，你可以摸三张牌，然后失去1点体力。",
}

qinchangbaicao:addEffect("active", {
  anim_type = "drawcard",
  prompt = "#lingling__qinchangbaicao-active",
  max_phase_use_time = 2,
  card_filter = Util.FalseFunc,
  on_use = function(self, room, effect)
    local from = effect.from
    if from.dead then return end
    from:drawCards(3, qinchangbaicao.name)
    if from.dead then return end
    room:loseHp(from, 1, qinchangbaicao.name)
  end
})

return qinchangbaicao
